package io.renren.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.entity.RechargeEntity;
import io.renren.modules.app.entity.vo.QueryRechargeParam;
import io.renren.modules.app.entity.vo.QueryWithdrawalsParam;
import io.renren.modules.app.entity.vo.SelectRechargeData;
import io.renren.modules.app.entity.vo.SelectWithdrawalsData;

import java.util.Map;

/**
 * 充值记录表
 *
 * @date 2022-04-20 22:37:44
 */
public interface RechargeService extends IService<RechargeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 分页获取充值记录
     */
    public SelectRechargeData queryWithdrawalsRecording(QueryRechargeParam rechargeData);

    /**
     * 新增充值信息
     *
     * @param recharge 充值信息类
     * @return
     */
    public Integer addRechargeData(RechargeEntity recharge);
}

